﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GNSWebSite.Helpers
{
    /// <summary>
    /// For url options
    /// </summary>
    public class SitePathHelper
    {
        /// <summary>
        /// Returns base path
        /// </summary>
        /// <returns></returns>
        public static string GetBaseSitePath()
        {
            return HttpContext.Current.Request.Url.AbsoluteUri.Replace(HttpContext.Current.Request.Url.PathAndQuery, "/");
        }
    }
}
